package Adapter;

import java.util.ArrayList;
import java.util.List;
import DomainPackage.*;
import Sistem.*;
public class YolcuUcakAdapter {

	public static List<YolcuUcak> getAllYolcuUcak(){
        List<Object> objectList = Register.getAll(YolcuUcak.class);
        //as all getAll functions, we have to cast to according class
        List<YolcuUcak> yolcuucakList = new ArrayList<YolcuUcak>();
        for(Object temp:objectList){
                yolcuucakList.add((YolcuUcak)temp);
        }
        return yolcuucakList;
	}
}
